package com.swi.dto.page;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by Shisan on 2017/8/22.
 * 分页对象
 */
public class Page implements Serializable{

    private static final long serialVersionUID = -1140295958632487798L;

    private Map<String,Object> param = new HashMap<>();

    private Long total;

    private Long pageNum;

    private Integer pageSize;

    private Object result;

    public Map<String, Object> getParam() {
        return param;
    }

    public void setParam(Map<String, Object> param) {
        this.param = param;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Long getPageNum() {
        return pageNum;
    }

    public void setPageNum(Long pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}
